package com.siwei.mes.entity.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 试验台账与运单关系(ExperimentWaybill)实体类
 *
 * @author makejava
 * @since 2024-05-27 21:37:50
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_experiment_waybill")
@ApiModel(value = "ExperimentWaybill", description = "试验台账与运单关系")
public class ExperimentWaybill implements Serializable {
    private static final long serialVersionUID = -36438907981775084L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "试验台账与运单关系主键ID", name = "id")
    private Long id;
    /**
     * 试验台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验台账id", name = "experimentId")
    private Long experimentId;
    /**
     * 运单id
     */
    @Column(name = "waybill_id")
    @ApiModelProperty(value = "运单id", name = "waybillId")
    private Long waybillId;

    /**
     * 代表数量
     */
    @Column(name = "behalf_number")
    @ApiModelProperty(value = "代表数量", name = "behalfNumber")
    private Double behalfNumber;
}
